//
//  TabBarViewController.swift
//  PropertyClient
//
//  Created by benwang on 2021/6/22.
//

import UIKit

class TabBarViewController: UITabBarController {

    override func viewDidLoad() {
        super.viewDidLoad()

      self.tabBar.tintColor = .black
        // Do any additional setup after loading the view.

      viewControllers?.forEach({ vc in
        vc.tabBarItem.image = vc.tabBarItem.image?
          .withRenderingMode(.alwaysOriginal)
        vc.tabBarItem.selectedImage = vc.tabBarItem.selectedImage?
          .withRenderingMode(.alwaysOriginal)
      })

      UINavigationBar.appearance().titleTextAttributes = [
        .font: UIFont.designKit.title3
      ]
    }

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
